package com.ktgj.customer.mapper;

import java.util.List;
import com.ktgj.customer.domain.TravelCommentPicture;

/**
 * 评论图片Mapper接口
 * 
 * @author ruoyi
 * @date 2022-01-13
 */
public interface TravelCommentPictureMapper 
{
    /**
     * 查询评论图片
     * 
     * @param travelCommentPictureId 评论图片ID
     * @return 评论图片
     */
    public TravelCommentPicture selectTravelCommentPictureById(Long travelCommentPictureId);

    /**
     * 查询评论图片列表
     * 
     * @param travelCommentPicture 评论图片
     * @return 评论图片集合
     */
    public List<TravelCommentPicture> selectTravelCommentPictureList(TravelCommentPicture travelCommentPicture);

    /**
     * 新增评论图片
     * 
     * @param travelCommentPicture 评论图片
     * @return 结果
     */
    public int insertTravelCommentPicture(TravelCommentPicture travelCommentPicture);

    /**
     * 修改评论图片
     * 
     * @param travelCommentPicture 评论图片
     * @return 结果
     */
    public int updateTravelCommentPicture(TravelCommentPicture travelCommentPicture);

    /**
     * 删除评论图片
     * 
     * @param travelCommentPictureId 评论图片ID
     * @return 结果
     */
    public int deleteTravelCommentPictureById(Long travelCommentPictureId);

    /**
     * 批量删除评论图片
     * 
     * @param travelCommentPictureIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteTravelCommentPictureByIds(Long[] travelCommentPictureIds);

    /**
     * 查询指定评论的图片集合
     * */
    public List<TravelCommentPicture> selectTravelCommentPicture(Long commentId);
}
